package design.pattern.SimpleFactory;

/**
 * 剪发累
 */
public class OperationDel extends Operation {
    OperationDel(){}

    OperationDel(double numberA, double numberB){
        super(numberA,numberB);
    }
    @Override
    double getResult() {
        return getNumberA() - getNumberB();
    }
}
